package es.iespuertodelacruz.dai.batallanaval.gui;

import es.iespuertodelacruz.dai.batallanaval.model.Fleet;
import es.iespuertodelacruz.dai.batallanaval.model.SeaMap;
import es.iespuertodelacruz.dai.batallanaval.model.ShipType;

public class GUIController {
	
	private Fleet fleet;
	private SeaMap seaMap;
	private GameConfig gameCfg;
	private static GUIController thread;
	
	public static synchronized GUIController getInstance() {
		
		if (thread == null) {
			thread = new GUIController();
		}
		return thread;		
	}
	
	private void initSeaMap() {
		seaMap = new SeaMap(gameCfg.getBoardSize());
	}
	
	private void initFleet() {
		fleet = new Fleet();
	}
	
	
	public void setGameConfig(GameConfig gameCfg) {
		this.gameCfg = gameCfg;
	}
	
	
	
	public boolean placeShip(ShipType shipType) {
		
		
		
		
	}
	
}
